<script setup lang="ts">
    import Demo from "./components/Demo.vue";
    import {ref} from 'vue';

    let isShow = ref(true);
    

</script>

<template>
   <button @click="isShow = !isShow">显示/隐藏</button>
   <Demo v-if="isShow"></Demo>
</template>

<style scoped>

</style>
